import axios from '@/libs/request/axios'
// 获取车辆概要信息
export const queryCarSummaryInfo = (params) => {
    return axios.request({
        url: `/case/asset/queryCarSummaryInfo`,
        params: params,
        method: 'post'
    })
}
//获取车辆详细信息
export const queryCarDetailInfo = (params) => {
    return axios.request({
        url: `/case/asset/queryCarDetailInfo`,
        params: params,
        method: 'post'
    })
}
//获取车辆款式信息
export const queryCarStyleDetailInfo = (params) => {
    return axios.request({
        url: `/case/asset/queryCarStyleDetailInfo`,
        params: params,
        method: 'post'
    })
}
//计算最大贷款额
export const claculateLoanAmtMax = (params) => {
    return axios.request({
        url: `/case/asset/claculateLoanAmtMax`,
        params: params,
        method: 'post'
    })
}
//更新车辆信息
export const saveNewCarInfo = (params) => {
    return axios.request({
        url: `/case/asset/saveNewCarInfo`,
        params: params,
        method: 'post'
    })
}
//更新车辆信息
export const saveOldCarInfo = (params) => {
    return axios.request({
        url: `/case/asset/saveOldCarInfo`,
        params: params,
        method: 'post'
    })
}
